using System.Collections.Generic;
using System.Linq;
using UnityEngine;

[CreateAssetMenu(fileName = "Effect29-友方消耗几点资源", menuName = "Skill/Effect/Effect29-友方消耗几点资源", order = 29)]
public class Effect29 : EffectBase
{
    public int count;
    public override void Apply(Pair pair, GameEvent e, List<Chess> targets)
    {
        PlayerResourcesManager.GetInstance().ReduceResources(pair.Chess.GetChessSide(), count);
    }
}